#include <stdio.h>
#include <pcre.h>
#include <string.h>

#ifndef __RE_H_
#define __RE_H_

#define RE_COMP_TYPE            PCRE_CASELESS
#define RE_EXEC_TYPE            0

typedef struct re_t {

   char *pattern;
   int vec[30];

} RE;

int matcher(char *, char *, RE *);
char * re_copy(RE *, int , char *);

#endif
